<?php 
class colmodel_ordertour{
    protected $colMod;
    function colmodel_ordertour()
    {
        $this->colMod=array(
            array(  
                "text"          =>"Order ID"            
                ,"datafield"    =>"ID" 
                ,"cellsalign"   =>"right"
                ,"width"        => 120    
                ),
            array(  
                "text"          =>"Name"            
                ,"datafield"    =>"Name" 
                ,"width"        => 120    
                ),
            array(  
                "text"          =>"Email"            
                ,"datafield"    =>"Email" 
                ,"width"        => 220    
                ),
            array(  
                "text"          =>"Phone"            
                ,"datafield"    =>"Phone" 
                ,"width"        => 120    
                ),
            array(  
                "text"          =>"Tour ID"            
                ,"datafield"    =>"TourID" 
                ,"cellsalign"   =>"right"     
                ,"width"        => 80    
                ),
            array(  
                "text"          =>"Tour Title"            
                ,"datafield"    =>"Title" 
                ,"cellsalign"   =>"right"     
                ,"width"        => 220    
                ),
            array(  
                "text"          =>"Monney"            
                ,"datafield"    =>"Monney" 
                ,"type"         =>"number"
                //,"columntype"   =>"checkbox" //number,checkbox[threestatecheckbox],numberinput,dropdownlist,combobox,datetimeinput
                //,"threestatecheckbox"=> true
                ,"width"        => 120    
                //,"filterable"   =>true
                ,"filtertype"   =>"number"  //textbox,checkedlist,list,number,checkbox,date
                //,"editable"     =>true
                //,"sortable"     =>true       
                ,"cellsalign"   =>"right"      
                //,"cellsformat"  =>'yyyy-MM-dd'
                //,"hidden"       =>true      
                ),
//            array(  
//                "text"          =>"Paypal"            
//                ,"datafield"    =>"Paypal" 
//                ,"type"         =>"bool"
//                ,"columntype"   =>"checkbox"
//                //,"threestatecheckbox"=> true
//                //,"width"        => 220    
//                //,"filterable"   =>true
//                ,"filtertype"   =>"bool"  
//                ,"editable"     =>true
//                //,"sortable"     =>true       
//                //,"cellsalign"   =>"left"      
//                //,"cellsformat"  =>'yyyy-MM-dd'
//                ,"hidden"       =>true      
//                ),
            array(  
                "text"          =>"Status"            
                ,"datafield"    =>"Status" 
                ,"type"         =>"string"
                ,"columntype"   =>"dropdownlist"
                ,"width"        => 120    
                ,"filtertype"   =>"checkedlist"  
                ,"filteritems"    => array('New', 'Confirmed','Canceled','Finished')
                ,"editable"     =>true
                //,"sortable"     =>true       
                //,"cellsalign"   =>"left"      
                //,"cellsformat"  =>'yyyy-MM-dd'
                //,"hidden"       =>false      
                ),
            array(  
                "text"          =>"Insert"            
                ,"datafield"    =>"Insert" 
                ,"type"         =>"date"
                ,"width"        => 220    
                //,"filterable"   =>true
                ,"filtertype"   =>"date"  
                //,"editable"     =>false
                //,"sortable"     =>true       
                //,"cellsalign"   =>"left"      
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                //,"hidden"       =>true
                ),
            array(  
                "text"          =>"Update"            
                ,"datafield"    =>"Update" 
                ,"type"         =>"date"
                ,"width"        => 220    
                //,"filterable"   =>true
                ,"filtertype"   =>"date"  
                //,"editable"     =>false
                //,"sortable"     =>true       
                //,"cellsalign"   =>"left"      
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                ,"hidden"       =>true
                ),
            array(  
                "text"          =>"Delete"            
                ,"datafield"    =>"Delete" 
                ,"type"         =>"date"
                ,"width"        => 220    
                //,"filterable"   =>true
                ,"filtertype"   =>"date"  
                //,"editable"     =>false
                //,"sortable"     =>true       
                //,"cellsalign"   =>"left"      
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                ,"hidden"       =>true
                )
        );
    }
    function get(){
        return $this->colMod;
    }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */